package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.business.domain.excel.WeekNumExcelHandlerAdapter;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.db.ID;
import lombok.Data;

import java.util.Date;

/**
 * 缓存信息
 *
 * @author ruoyi
 */
@Data
public class BizPlan implements ID<Integer>
{
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Excel(name = "classname")
    private String className;

    @Excel(name = "course_project")
    private String courseProject;

    @Excel(name = "week_num", handler = WeekNumExcelHandlerAdapter.class)
    private Integer weekNum;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "week_start", dateFormat = "yyyy年M月dd日")
    private Date weekStart;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "week_end", dateFormat = "yyyy年M月dd日")
    private Date weekEnd;

    @Excel(name = "major_stage")
    private String majorStage;

    @Excel(name = "minor_stage")
    private String minorStage;

    @Excel(name = "course1")
    private String course1;

    @Excel(name = "course2")
    private String course2;

    @Excel(name = "task_2000b")
    private Integer task2000b;

    @Excel(name = "task_200h")
    private Integer task200h;

    @Excel(name = "task_practice")
    private Integer taskPractice;

    @Excel(name = "task_listen")
    private Integer taskListen;

    @Excel(name = "task_discuss")
    private Integer taskDiscuss;

    @Excel(name = "task_summary")
    private Integer taskSummary;

    @Excel(name = "score_summary")
    private Double scoreSummary;

    @Excel(name = "备注1")
    private String note1;

    @Excel(name = "备注2")
    private String note2;

    @Override
    public Integer getId() {
        return id;
    }

}
